package com.fanbuchi.app.ins.event;

import com.fanbuchi.app.ins.vo.enums.AsyncStatus;

/**
 * Created by win7 on 2016/5/26.
 */
public class NetEvent {
    public NetEvent( AsyncStatus asyncStatus,Throwable exception){
        this.asyncStatus=asyncStatus;
        this.exception=exception;
    }
    AsyncStatus asyncStatus;
    Throwable exception;

    public AsyncStatus getAsyncStatus() {
        return asyncStatus;
    }

    public void setAsyncStatus(AsyncStatus asyncStatus) {
        this.asyncStatus = asyncStatus;
    }

    public Throwable getException() {
        return exception;
    }

    public void setException(Throwable exception) {
        this.exception = exception;
    }
}
